package com.ulife.order.service.dto;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by Ulife on 2016/7/29.
 */
public class ItemPromotionSplitDTO {
    public String SoNo;
    public long mainOrderItemId;//主订单itemid
    public  long subOrderItemId;//子订单itemid
    public  long itemId;//商品itemid
    public String  couponCode;
    public long promotionId;
    public BigDecimal amount;//优惠金额
    public  int isvalid;
    public int itemQty;//购买数量

    public long getMainOrderItemId() {
        return mainOrderItemId;
    }

    public void setMainOrderItemId(long mainOrderItemId) {
        this.mainOrderItemId = mainOrderItemId;
    }

    public long getSubOrderItemId() {
        return subOrderItemId;
    }

    public void setSubOrderItemId(long subOrderItemId) {
        this.subOrderItemId = subOrderItemId;
    }

    public int getItemQty() {
        return itemQty;
    }

    public void setItemQty(int itemQty) {
        this.itemQty = itemQty;
    }

    public long getItemId() {
        return itemId;
    }

    public void setItemId(long itemId) {
        this.itemId = itemId;
    }

    public String getSoNo() {
        return SoNo;
    }

    public void setSoNo(String soNo) {
        SoNo = soNo;
    }



    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    public long getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(long promotionId) {
        this.promotionId = promotionId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public int getIsvalid() {
        return isvalid;
    }

    public void setIsvalid(int isvalid) {
        this.isvalid = isvalid;
    }
}
